﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace nwrole.lib2 {
    [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerSession)]
    [CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Reentrant)]
    public class OrchestratorClient : IOrchestratorClientContract {
        private Supervisor supervisor;

        public OrchestratorClient(Supervisor supervisor) {
            this.supervisor = supervisor;
        }

        public int GetNumServices() {
            return supervisor.GetNumServices();
        }
    }
}
